package com.aixx.springcloud.alibaba.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author shkstart
 * @create 2021-02-17 17:42
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonResult<T> {

    private Integer code;
    private String messgae;
    private T date;

    public CommonResult(Integer code, String messgae){
        this(code, messgae, null);

//        this.code=code;
//        this.messgae=messgae;

    }


}
